﻿using System;
using System.Xml;


namespace DotNetNuke.Modules.UserDefinedTable
{


  [Serializable]
  public class TemplateValueInfo
  {
    private string _Caption;
    private int _EditorId;
    private int _length;
    private XmlNode _Node;
    private string _Value;
    private string _ValueSource;

    public string Caption
    {
      get
      {
        return this._Caption;
      }
      set
      {
        this._Caption = value;
      }
    }

    public int Editor
    {
      get
      {
        return this._EditorId;
      }
      set
      {
        this._EditorId = value;
      }
    }

    public bool FalseColumn
    {
      get
      {
        return false;
      }
    }

    public int Length
    {
      get
      {
        return this._length;
      }
      set
      {
        this._length = value;
      }
    }

    public XmlNode Node
    {
      get
      {
        return this._Node;
      }
      set
      {
        this._Node = value;
      }
    }

    public bool TrueColumn
    {
      get
      {
        return true;
      }
    }

    public string Value
    {
      get
      {
        return this._Value;
      }
      set
      {
        this._Value = value;
      }
    }

    public string ValueSource
    {
      get
      {
        return this._ValueSource;
      }
      set
      {
        this._ValueSource = value;
      }
    }


  }

}

